package com.ruoyi.common.core.domain.entity;
 
import com.ruoyi.common.core.domain.BaseEntity;
 
import java.util.Date;
 
/**
 * 用户对象 app_user
 *
 * @author ruoyi
 */
public class AppUser extends BaseEntity {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 用户ID
     */
    private Long userId;
 
    /**
     * 用户账号
     */
    private String userName;
 
    /**
     * 用户昵称
     */
    private String nickName;
 
    /**
     * 用户邮箱
     */
    private String email;
 
    /**
     * 手机号码
     */
    private String mobile;
 
    /**
     * 用户性别（0=男,1=女,2=未知）
     */
    private String sex;
 
    /**
     * 用户头像
     */
    private String avatar;
 
    /**
     * 密码
     */
    private String password;

 
    /**
     * 帐号状态（0=正常,1=停用）
     */
    private String status;
 
    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;
 
    /**
     * 最后登录IP
     */
    private String loginIp;
 
    /**
     * 最后登录时间
     */
    private Date loginDate;
 
    public Long getUserId() {
        return userId;
    }
 
    public void setUserId(Long userId) {
        this.userId = userId;
    }
 
    public String getUserName() {
        return userName;
    }
 
    public void setUserName(String userName) {
        this.userName = userName;
    }
 
    public String getNickName() {
        return nickName;
    }
 
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
 
    public String getEmail() {
        return email;
    }
 
    public void setEmail(String email) {
        this.email = email;
    }
 
    public String getMobile() {
        return mobile;
    }
 
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
 
    public String getSex() {
        return sex;
    }
 
    public void setSex(String sex) {
        this.sex = sex;
    }
 
    public String getAvatar() {
        return avatar;
    }
 
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
 
    public String getPassword() {
        return password;
    }
 
    public void setPassword(String password) {
        this.password = password;
    }
 
    public String getStatus() {
        return status;
    }
 
    public void setStatus(String status) {
        this.status = status;
    }
 
    public String getDelFlag() {
        return delFlag;
    }
 
    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }
 
    public String getLoginIp() {
        return loginIp;
    }
 
    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }
 
    public Date getLoginDate() {
        return loginDate;
    }
 
    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }
}